package org.jeecg.modules.demo.com.kunpeng.mapper;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.com.kunpeng.entity.SupplierGrade;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * @Description: 供应商等级表
 * @Author: jeecg-boot
 * @Date:   2023-01-09
 * @Version: V1.0
 */
@Repository
public interface SupplierGradeMapper extends BaseMapper<SupplierGrade> {

    /**
     * 获取供货商等级列表
     * @return
     */
    List<String> supplierGradeList();


    /**
     * 等级模糊查询
     */
    List<SupplierGrade> queryListByGrade(Page<SupplierGrade>page,String keyWords);

    /**
     * 根据等级名称查询
     */
    List<SupplierGrade> queryListBySupplierGrade(String supplierGrade);
}
